import javax.microedition.lcdui.Image;


public interface Constantes {
	
	// Constantes de la interfaz
	public static final String INTERFAZ_ABRIR = "Open";//Abrir";
	public static final String INTERFAZ_PLAY = "Play";
	public static final String INTERFAZ_STOP = "Stop";
	public static final String INTERFAZ_SALIR = "Exit";//Salir";
	public static final String INTERFAZ_INFO = "Info";
	public static final String INTERFAZ_VER = "Ver";
	public static final String INTERFAZ_TITULO = "Rockola Music Player";
	public static final String INTERFAZ_ERROR = "An error has occurred: ";//"Se ha producido un error: ";
	public static final String INTERFAZ_VOLUMEN = "Volume: ";//"Volumen: ";
	public static final String INTERFAZ_PORCENTAJE = " %";
	public static final String INTERFAZ_CARGANDO = "Loading...";//Cargando...";
	public static final String INTERFAZ_ELIMINAR_FICHERO = "Delete the file:";//"Eliminar el fichero: ";
	public static final String INTERFAZ_ELIMINAR_ACEPTAR = "OK key or 5 shot";//Aceptar: Tecla disparo o 5";
	public static final String INTERFAZ_ELIMINAR_CANCELAR = "Cancel: Stop or 0";//Cancelar: Stop o 0";
	public static final String INTERFAZ_INFO_TITULO = "Info Rockola";
	public static final String INTERFAZ_INFO_SOPORTADO = "Supported files:";//Archivos soportados:";
	public static final String INTERFAZ_INFO_AUDIO = "- Audio:";
	public static final String INTERFAZ_INFO_AUDIO_FILES = "MP3, AMR, WAV, MID,";
	public static final String INTERFAZ_INFO_AUDIO_FILES2 = "WMA, WMA9, M4A y MP4";
	public static final String INTERFAZ_INFO_IMAGE = "- Foto:";
	public static final String INTERFAZ_INFO_IMAGE_FILES = "JPG, PNG, GIF, BMP";
	public static final String INTERFAZ_INFO_MAS = "More info:";//Mas info:";
	public static final String INTERFAZ_INFO_URL = "rockola.sourceforge.net";
	
	// Constantes string
	public static final String CADENA_VACIA = "";
	public static final String CADENA_CERO = "0";
	public static final String CADENA_DOS_PUNTOS = ":";
	public static final String CADENA_BOOLEAN_TRUE = "S";
	public static final String CADENA_BOOLEAN_FALSE = "N";
	public static final char CADENA_LETRA_WIDTH = 'w';
	
	// Iconos
	public static final String ICONO_FOLDER = "/folder.JPG";
	public static final String ICONO_FILE = "/file.PNG";
	public static final String ICONO_FLECHA_ABAJO = "/downArrow.PNG";
	public static final String ICONO_FLECHA_ARRIBA = "/upArrow.PNG";
	public static final String ICONO_PLAY = "/play.PNG";
	public static final String ICONO_PAUSE = "/pause.PNG";
	
	// Directorios/ficheros
	public static final String FILE_ROOT = "/";
	public static final String FILE_UP = "..";
	public static final String FILE_URL = "file://";
	public static final char FILE_FIN_DIR_CHAR = '/';
	public static final String FILE_FIN_DIR_STRING = "/";
	
	// Extensiones
	public static final String EXTENSION_JPG = ".jpg";
	public static final String EXTENSION_BMP = ".bmp";
	public static final String EXTENSION_GIF = ".gif";
	public static final String EXTENSION_PNG = ".png";
	public static final String EXTENSION_MP3 = ".mp3";
	public static final String EXTENSION_WAV = ".wav";
	public static final String EXTENSION_MID = ".mid";
	public static final String EXTENSION_AMR = ".amr";	
	public static final String EXTENSION_WMA = ".wma";
	public static final String EXTENSION_M4A = ".m4a";
	public static final String EXTENSION_MP4 = ".mp4";
	
	public static final String EXTENSION_TODOS = "*";
		
	// Modos disponibles del programa	
	public static final int MODO_BROWSER = 0;
	public static final int MODO_AUDIO = 1;
	public static final int MODO_PHOTO = 2;
	public static final int MODO_PHOTO_LOADING = 3;
	public static final int MODO_DELETING = 4;
	public static final int MODO_INFO = 5;
	public static final int MODO_CARATULA = 6;
	public static final int MODO_CARATULA_LOADING = 7;
	public static final int MODO_ECUALIZADOR = 8;
	
	// Constantes para el audio
	public static final int VOLUMEN_ARRIBA = 10;
	public static final int VOLUMEN_ABAJO = -10;	
	public static final int AVANCE_CANCION_SEG = 10; // Avanza 10 segundos por cada pulsacion
	public static final int VOLUMEN_DEFECTO = 50;
	public static final long SECS_TO_MICROSECS = 1000000L;
	public static final long AVANCE_CANCION_LONG = AVANCE_CANCION_SEG * SECS_TO_MICROSECS;
	public static final String CONTROL_VOLUMEN = "VolumeControl";
	public static final String CONTROL_METADATA = "MetaDataControl";
	
	// Colores
	public static final int COLOR_BLANCO = 0xFFFFFF;
	public static final int COLOR_NEGRO = 0x000000;
	public static final int COLOR_GRIS = 0xCCCCCC;
	public static final int COLOR_SELECCIONADO = 0x444444;

	// BD RMS
	public static final String NOMBRE_RMS = "MUSIC_BOX_DATA";
}